﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="../MasterPage.Master"
    CodeBehind="wfClienteMnt.aspx.cs" Inherits="PD.wfClienteMnt" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
<%@ Import Namespace="Texfina.Common.Mg" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../Styles/jquery-ui.custom.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        window.onload = function () {

            var menuTable = document.getElementById('<%=mnuToolbar.ClientID %>');
            var menuLinks = menuTable.getElementsByTagName("a");
            if (menuLinks != null) {
                switch (menuLinks.length) {
                    case 2:
                        menuLinks[0].onclick = function () { return validateEditForm('_BTTSAVE') }
                        break;

                    case 3:
                        menuLinks[0].onclick = function () { return validateEditForm('_BTTSAVE') }
                        menuLinks[1].onclick = function () { return validateEditForm('_BTTSAVNEW') }
                        break;
                }
            }

            this.ResizeGrid();
            this.MessageOnPostback();
        }


        function GetValueFile() {
            document.getElementById('<%=txtidFotografia.ClientID %>').value = document.getElementById('<%=fuidFotografia.ClientID %>').value;
        }

        function ResizeGrid() {
            internalGridResize("<%= tabMaster.ClientID %>");

            document.getElementById('<%= txtfeIngPla.ClientID %>').disabled = true;
            document.getElementById('<%= txtfeCese.ClientID %>').disabled = true;
            $('#<%= txtfeIngPla.ClientID %>').datepicker("disable");
            $('#<%= txtfeCese.ClientID %>').datepicker("disable");
        }


        function panelOnUpdating() {
            updatePanelAnimationUpdating();
        }

        function panelOnUpdated() {
            ResizeGrid();
            updatePanelAnimationUpdated();
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="ToolBar">
        <asp:Menu ID="mnuToolbar" runat="server" CssClass="ToolBarControl" Orientation="Horizontal"
            OnMenuItemClick="mnuToolbar_MenuItemClick">
            <Items>
                <asp:MenuItem Text="Guardar" Value="_BTTSAVE" ImageUrl="../Images/Icons/Enabled/SAVE.png">
                </asp:MenuItem>
                <asp:MenuItem Text="Salir" Value="_BTTEXIT" ImageUrl="../Images/Icons/Enabled/BACK.png">
                </asp:MenuItem>
            </Items>
        </asp:Menu>
    </div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div class="DataHeader">
                <table id="TableDataHeader" cellpadding="0" cellspacing="0">
                    <tr>
                        <td colspan="3">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 5px;">
                            &nbsp;
                        </td>
                        <td>
                            Datos del Cliente
                        </td>
                        <td style="width: 5px;">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 5px;">
                            &nbsp;
                        </td>
                        <td>
                            <div style="border: 1px solid #ccc; border-radius: 5px; -moz-border-radius: 5px;
                                -webkit-border-radius: 5px; -ms-border-radius: 5px;">
                                <table width="100%" cellpadding="0" cellspacing="2">
                                    <tr>
                                        <td colspan="13">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td style="width: 110px;">
                                            Cod. Cliente
                                        </td>
                                        <td colspan="10">
                                            <esd:esdMaskedTextBox runat="server" ID="txtidPersonal" Width="100px" Mask="9999999">
                                            </esd:esdMaskedTextBox>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Razon Social
                                        </td>
                                        <td colspan="2">
                                            <esd:esdTextBox runat="server" ID="txtdsAPaterno" Width="180px"></esd:esdTextBox>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td style="width: 110px;">
                                            Dirección
                                        </td>
                                        <td colspan="2">
                                            <esd:esdTextBox runat="server" ID="txtdsAMaterno" Width="180px"></esd:esdTextBox>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Alias
                                        </td>
                                        <td colspan="2">
                                            <esd:esdTextBox runat="server" ID="txtdsNombres" Width="180px"></esd:esdTextBox>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Doc.Identidad
                                        </td>
                                        <td style="width: 70px;">
                                            <asp:DropDownList ID="ddlidTDocIden" runat="server" Width="70px">
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                            <esd:esdMaskedTextBox runat="server" ID="txtnuDocIden" Width="108px" Mask="?99999999999999999999">
                                            </esd:esdMaskedTextBox>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Fecha Inscripción
                                        </td>
                                        <td colspan="2">
                                            <esd:esdDateTextBox ID="txtfeNacimiento" runat="server" Width="100px"></esd:esdDateTextBox>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Genero
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidSexo" runat="server" Width="185px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            F.Vcmto.Doc.
                                        </td>
                                        <td colspan="2">
                                            <esd:esdDateTextBox ID="txtfeVctoDoIde" runat="server" Width="100px"></esd:esdDateTextBox>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Nro. Telefono
                                        </td>
                                        <td colspan="2">
                                            <esd:esdMaskedTextBox runat="server" ID="txtnuTelf" Width="100px" Mask="?99999999999">
                                            </esd:esdMaskedTextBox>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Email
                                        </td>
                                        <td colspan="2">
                                            <esd:esdTextBox ID="txtdsEmail" runat="server" Width="180px">
                                            </esd:esdTextBox>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Web
                                        </td>
                                        <td colspan="2">
                                            <esd:esdTextBox ID="txtdsWeb" runat="server" Width="180px">
                                            </esd:esdTextBox>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Nro. Celular
                                        </td>
                                        <td colspan="2">
                                            <esd:esdMaskedTextBox runat="server" ID="txtnufax" Width="100px" Mask="?999999999">
                                            </esd:esdMaskedTextBox>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="13">
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </td>
                        <td style="width: 5px;">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 5px;">
                            &nbsp;
                        </td>
                        <td>
                            <div style="border: 1px solid #ccc; border-radius: 5px; -moz-border-radius: 5px;
                                -webkit-border-radius: 5px; -ms-border-radius: 5px;">
                                <table width="100%" cellpadding="0" cellspacing="2">
                                    <tr>
                                        <td colspan="13">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td style="width: 110px;">
                                           Unidad de Negocio
                                        </td>
                                        <td colspan="2">
                                           <asp:DropDownList ID="ddlidUNegocio" runat="server" Width="185px" AutoPostBack="true" OnSelectedIndexChanged="ddlidUNegocio_SelectedIndexChanged">
                                           </asp:DropDownList>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td style="width: 110px;">
                                            Centro de Costo
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidCCosto" runat="server" Width="185px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Establecimiento
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidEstable" runat="server" Width="185px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Cat. del Trabajador
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidCateTrab" runat="server" Width="185px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Nro. Fotocheck
                                        </td>
                                        <td colspan="2">
                                            <esd:esdMaskedTextBox ID="txtnuFotocheck" Width="180px" runat="server" Mask="?999999999999999">
                                            </esd:esdMaskedTextBox>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            RUC
                                        </td>
                                        <td colspan="2">
                                            <esd:esdMaskedTextBox ID="txtnuRUC" Width="180px" runat="server" Mask="?99999999999">
                                            </esd:esdMaskedTextBox>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td colspan="11">
                                            <asp:CheckBox ID="chkstDomiciliado" runat="server" Text="Se encuentra Domiciliado" />
                                            <asp:CheckBox ID="chkstEsSalud" runat="server" Text="Tiene EsSalud + Vida" />
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>




                                    <tr>
                                        <td colspan="13">
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </td>
                        <td style="width: 5px;">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3">
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </div>
            <div class="DataDetail">
                <table width="100%" cellpadding="0" cellspacing="2">
                    <tr>
                        <td style="width: 5px;">
                            &nbsp;
                        </td>
                        <td>
                            <ajax:TabContainer ID="tabMaster" ScrollBars="Auto" runat="server" CssClass="gray"
                                Width="100%">
                                <ajax:TabPanel ID="tabChildFoto" runat="server" HeaderText="Fotografia">
                                    <contenttemplate>
                                 <table width="100%" cellpadding="1" cellspacing="2">
                                    <tr>
                                        <td colspan="3">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            <div style="border: 1px solid #ccc; border-radius: 5px; -moz-border-radius: 5px;
                                            -webkit-border-radius: 5px; -ms-border-radius: 5px;">
                                                <table>
                                                    <tr>
                                                        <td colspan="13">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 5px;">
                                                            &nbsp;
                                                        </td>
                                                        <td rowspan="3" style="width:134px;">
                                                            <asp:Image runat="server" ID="imgidFotografia" CssClass="esdImagen" Width="132px" Height="170px" />
                                                        </td>
                                                        <td valign="top">
                                                            <esd:esdTextBox ID="txtidFotografia" runat="server" Width="200px"></esd:esdTextBox>
                                                        </td>
                                                        <td valign="top">
                                                            <div class="esdDivUploadFile">
                                                                <asp:FileUpload ID="fuidFotografia" onchange="GetValueFile();" runat="server" CssClass="esdUploadFile" Width="280px" accept="jpeg|jpg|png" />
                                                                Examinar
                                                            </div>
                                                        </td>
                                                        <td colspan="8">
                                             

                                                   
                                                        </td>
                                                        <td style="width: 5px;">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 5px;">
                                                            &nbsp;
                                                        </td>
                                                        <td colspan="11" valign="top">
                                                            &nbsp;&nbsp;Se recomienda usar imagenes con tamaño 132px  X  170px
                                                            <br />&nbsp;&nbsp;Solo archivos con formatos jpeg|jpg|png
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 5px;">
                                                            &nbsp;
                                                        </td>
                                                        <td colspan="11">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="13">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </td> 
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr> 
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                 </table> 
                            </contenttemplate>
                                </ajax:TabPanel>
                                <ajax:TabPanel ID="tabChildDirec" runat="server" HeaderText="Direccion">
                                    <contenttemplate>
                                <table width="100%" cellpadding="1" cellspacing="2">
                                    <tr>
                                        <td colspan="13">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Ubigeo
                                        </td>
                                        <td colspan="10">
                                            <esd:esdButtonTextBox ID="txtdsUbigeo" runat="server" Width="300px">
                                            </esd:esdButtonTextBox>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style=" height:5px;" colspan="13">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Tipo de Via
                                        </td>
                                        <td>
                                            Nombre de Via
                                        </td>
                                        <td>
                                            Numero
                                        </td>
                                        <td>
                                            Dpto.
                                        </td>
                                        <td>
                                            Interior
                                        </td>
                                        <td>
                                            Manzana
                                        </td>
                                        <td>
                                            Lote
                                        </td>
                                        <td>
                                            Kilometro
                                        </td>
                                        <td>
                                            Block
                                        </td>
                                        <td>
                                            Etapa
                                        </td>
                                        <td>&nbsp;</td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td style="width: 70px;">
                                            <asp:DropDownList ID="ddlidTipoVia" runat="server" Width="70px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 250px;">
                                            <esd:esdTextBox runat="server" ID="txtdsNombreVia" Width="250px"></esd:esdTextBox>
                                        </td>
                                        <td style="width: 50px;">
                                            <esd:esdTextBox runat="server" ID="txtnuVia" Width="50px"></esd:esdTextBox>
                                        </td>
                                        <td style="width: 50px;">
                                            <esd:esdTextBox runat="server" ID="txtnuDpto" Width="50px"></esd:esdTextBox>
                                        </td>
                                        <td style="width: 50px;">
                                            <esd:esdTextBox runat="server" ID="txtnuInterior" Width="50px"></esd:esdTextBox>
                                        </td>
                                        <td style="width: 50px;">
                                            <esd:esdTextBox runat="server" ID="txtdsManzana" Width="50px"></esd:esdTextBox>
                                        </td>
                                        <td style="width: 50px;">
                                            <esd:esdTextBox runat="server" ID="txtdsLote" Width="50px"></esd:esdTextBox>
                                        </td>
                                        <td style="width: 50px;">
                                            <esd:esdTextBox runat="server" ID="txtdsKilometro" Width="50px"></esd:esdTextBox>
                                        </td>
                                        <td style="width: 50px;">
                                            <esd:esdTextBox runat="server" ID="txtdsBlock" Width="50px"></esd:esdTextBox>
                                        </td>
                                        <td style="width: 50px;">
                                            <esd:esdTextBox runat="server" ID="txtdsEtapa" Width="50px"></esd:esdTextBox>
                                        </td>
                                        <td>&nbsp;</td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="13" style=" height:5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Tipo de Zona
                                        </td>
                                        <td>
                                            Nombre de Zona
                                        </td>
                                        <td>
                                            Referencia
                                        </td>
                                        <td colspan="8">
                                            &nbsp;
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td style="width: 70px;">
                                            <asp:DropDownList ID="ddlidTipoZona" runat="server" Width="70px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 250px;">
                                            <esd:esdTextBox runat="server" ID="txtdsNombZona" Width="250px"></esd:esdTextBox>
                                        </td>
                                        <td colspan="9">
                                            <esd:esdTextBox runat="server" ID="txtdsReferen" Width="455px"></esd:esdTextBox>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="13">
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table> 
                            </contenttemplate>
                                </ajax:TabPanel>
                                <ajax:TabPanel ID="tabChildPrinci" runat="server" HeaderText="Datos Principales">
                                    <contenttemplate>
                                 <table width="100%" cellpadding="0" cellspacing="2">
                                    <tr>
                                        <td colspan="13">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Tipo de trabajador  
                                        </td> 
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidTipoTrab" runat="server" Width="185px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Cat. Ocupacional
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidCateOcup" runat="server" Width="185px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Regimen Laboral
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidRegLaboral" runat="server" Width="185px"></asp:DropDownList>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr> 
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Nivel Educacion
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidNivEduc" runat="server" Width="185px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Ocupacion
                                        </td>
                                        <td colspan="6" style="width: 70px;">
                                            <esd:esdTextBox runat="server" ID="txtidOcupa" Width="68px"></esd:esdTextBox>
                                            <esd:esdButtonTextBox ID="txtdsOcupa" runat="server" Width="300px"></esd:esdButtonTextBox>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                         <td>
                                             Regimen Pension
                                         </td>
                                         <td colspan="2">
                                             <asp:DropDownList ID="ddlidRegPensi" runat="server" Width="185px">
                                             </asp:DropDownList>
                                         </td>
                                         <td style="width: 30px;">
                                             &nbsp;
                                         </td>
                                         <td>
                                             Fecha Inscripcion
                                         </td>
                                         <td colspan="2">
                                             <esd:esdDateTextBox ID="txtfeInsRegPen" runat="server" Width="100px"></esd:esdDateTextBox>
                                         </td>
                                         <td style="width: 30px;">
                                             &nbsp;
                                         </td>
                                         <td>
                                             CUSPP
                                         </td>
                                         <td colspan="2">
                                             <esd:esdTextBox runat="server" ID="txtnuCuspp" Width="180px"></esd:esdTextBox>
                                         </td>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                     </tr>
                                    <tr>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                         <td>
                                             SCTR Salud
                                         </td>
                                         <td colspan="2">
                                             <asp:DropDownList ID="ddlidSctrSalud" runat="server" Width="185px">
                                             </asp:DropDownList>
                                         </td>
                                         <td style="width: 30px;">
                                             &nbsp;
                                         </td>
                                         <td>
                                             SCTR Pension
                                         </td>
                                         <td colspan="2">
                                             <asp:DropDownList ID="ddlidSctrPens" runat="server" Width="185px">
                                             </asp:DropDownList>
                                         </td>
                                         <td style="width: 30px;">
                                             &nbsp;
                                         </td>
                                         <td>
                                             Tipo Modalidad Formativa
                                         </td>
                                         <td colspan="2">
                                             <asp:DropDownList ID="ddlidTipoCenFP" runat="server" Width="185px">
                                             </asp:DropDownList>
                                         </td>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                     </tr>
                                    <tr>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                         <td colspan="3">
                                             <asp:CheckBox ID="chkstMadreResp" runat="server" Text="Madre con responsabilidad familiar" />
                                         </td>
                                         <td style="width: 30px;">
                                             &nbsp;
                                         </td>
                                         <td colspan="3">
                                             <asp:CheckBox ID="chkstDiscapa" runat="server" Text="Discapacitado" />
                                         </td>
                                         <td style="width: 30px;">
                                             &nbsp;
                                         </td>
                                         <td>
                                             Centro de Formacion
                                         </td>
                                         <td colspan="2">
                                             <asp:DropDownList ID="ddlidCentroFP" runat="server" Width="185px">
                                             </asp:DropDownList>
                                         </td>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                     </tr>
                                    <tr>
                                        <td colspan="13">
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table> 
                            </contenttemplate>
                                </ajax:TabPanel>
                                <ajax:TabPanel ID="tabChildDComple" runat="server" HeaderText="Datos Complementarios">
                                    <contenttemplate>
                                 <table width="100%" cellpadding="0" cellspacing="2">
                                    <tr>
                                        <td colspan="13">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Tipo Contrato  
                                        </td> 
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidTipoCont" runat="server" Width="185px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Empresa EPS
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidEmpEps" runat="server" Width="185px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Situacion Empleado
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidSituEmple" runat="server" Width="185px"></asp:DropDownList>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr> 
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Periodo Remuneracion
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidPeriRemu" runat="server" Width="185px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Estado Civil
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidEstaCivil" runat="server" Width="185px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Tipo Remuneracion
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidTipoRemu" runat="server" Width="185px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                         <td>
                                             Banco Abono
                                         </td>
                                         <td colspan="2">
                                             <asp:DropDownList ID="ddlidBcoAbono" runat="server" Width="185px">
                                             </asp:DropDownList>
                                         </td>
                                         <td style="width: 30px;">
                                             &nbsp;
                                         </td>
                                         <td>
                                             Tipo Cuenta
                                         </td>
                                         <td colspan="2">
                                             <asp:DropDownList ID="ddlidTipoCtaAbono" runat="server" Width="185px">
                                             </asp:DropDownList>
                                         </td>
                                         <td style="width: 30px;">
                                             &nbsp;
                                         </td>
                                         <td>
                                             Nro. Cuenta
                                         </td>
                                         <td colspan="2">
                                             <esd:esdMaskedTextBox ID="txtnuctaAbono" runat="server" Mask="?999999999999999999999999999999"></esd:esdMaskedTextBox>
                                         </td>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                     </tr>
                                    <tr>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                         <td>
                                             Banco Cts
                                         </td>
                                         <td colspan="2">
                                             <asp:DropDownList ID="ddlidBcoCts" runat="server" Width="185px">
                                             </asp:DropDownList>
                                         </td>
                                         <td style="width: 30px;">
                                             &nbsp;
                                         </td>
                                         <td>
                                             Nro. Cuenta Cts
                                         </td>
                                         <td colspan="6">
                                             <esd:esdMaskedTextBox ID="txtnuCtaCts" runat="server" Mask="?999999999999999999999999999999"></esd:esdMaskedTextBox>
                                         </td>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                     </tr>
                                    <tr>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                         <td colspan="3">
                                             <asp:CheckBox ID="chkstJTAtipico" runat="server" Text="Jornal Atipico o Acumulativo" />
                                         </td>
                                         <td style="width: 30px;">
                                             &nbsp;
                                         </td>
                                         <td colspan="3">
                                             <asp:CheckBox ID="chkstJTMaxima" runat="server" Text="Jornal Trabajo Maximo" />
                                         </td>
                                         <td style="width: 30px;">
                                             &nbsp;
                                         </td>
                                         <td colspan="3">
                                             <asp:CheckBox ID="chkstJTHoraNoc" runat="server" Text="Jornal Trabajo Nocturno" />
                                         </td>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                     </tr>
                                    <tr>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                         <td colspan="3">
                                             <asp:CheckBox ID="chkstOtrosIng5ta" runat="server" Text="Otros Ingresos 5ta Categoria" />
                                         </td>
                                         <td style="width: 30px;">
                                             &nbsp;
                                         </td>
                                         <td colspan="3">
                                             <asp:CheckBox ID="chkstSindical" runat="server" Text="Miembro Sindical" />
                                         </td>
                                         <td style="width: 30px;">
                                             &nbsp;
                                         </td>
                                         <td colspan="3">
                                             <asp:CheckBox ID="chkst5taExo" runat="server" Text="Exonerado 5ta Categoria" />
                                         </td>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                     </tr>
                                    <tr>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                         <td colspan="3">
                                             <asp:CheckBox ID="chkstAsigFami" runat="server" Text="Asignacion Familiar" />
                                         </td>
                                         <td style="width: 30px;">
                                             &nbsp;
                                         </td>
                                         <td colspan="7">
                                             <asp:CheckBox ID="chkstSujRegAlter" runat="server" Text="Sujeto al Regimen Alternativo" />
                                         </td>
                                         <td style="width: 5px;">
                                             &nbsp;
                                         </td>
                                     </tr>
                                    <tr>
                                        <td colspan="13">
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table> 
                            </contenttemplate>
                                </ajax:TabPanel>
                                <ajax:TabPanel ID="tabChildPerio" runat="server" HeaderText="Periodo Laboral">
                                    <contenttemplate>
                                 <table width="100%" cellpadding="0" cellspacing="2">
                                    <tr>
                                        <td colspan="13">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Fecha Ingreso Planilla :  
                                        </td> 
                                        <td colspan="2">
                                            <esd:esdDateTextBox ID="txtfeIngPla" runat="server" Width="100px"></esd:esdDateTextBox>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Fecha Salida Planilla :
                                        </td>
                                        <td colspan="2">
                                            <esd:esdDateTextBox ID="txtfeCese" runat="server" Width="100px"></esd:esdDateTextBox>
                                        </td>
                                        <td style="width: 30px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            Motivo salida :
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlidMotivFin" Enabled="False" runat="server" 
                                                Width="185px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr> 
                                    <tr>
                                        <td colspan="13">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="13">
                                            <esd:esdGridView CssClass="esdGridView" ID="grdList" runat="server"
                                            Width="100%" ShowHeaderWhenEmpty="True" AutoGenerateColumns="False">
                                                <Columns>
                                                    <asp:BoundField DataField="feInicio" HeaderText="Fecha Inicio"></asp:BoundField>
                                                    <asp:BoundField DataField="feFin" HeaderText="Fecha Termino"></asp:BoundField>
                                                    <asp:BoundField DataField="dsMotivFin" HeaderText="Motivo Termino"></asp:BoundField>
                                                </Columns>
                                                <EmptyDataTemplate>
                                                    <div id="gridempty">
                                                        <asp:Image ID="imgEmpty" runat="server" ImageUrl="../Images/Controls/Attention.png" />
                                                        &nbsp;No existen registros para esta solicitud.
                                                    </div>
                                                </EmptyDataTemplate>
                                            </esd:esdGridView>
                                        </td>
                                    </tr>
                                </table> 
                            </contenttemplate>
                                </ajax:TabPanel>
                                <ajax:TabPanel ID="tabChildInfo" runat="server" HeaderText="Informacion Adicional">
                                    <contenttemplate>
                                 <table width="100%" cellpadding="0" cellspacing="2">
                                    <tr>
                                        <td colspan="3">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp; 
                                        </td>
                                        <td>
                                            Datos Para Uniforme:
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            <div style="border: 1px solid #ccc; border-radius: 5px; -moz-border-radius: 5px;
                                                -webkit-border-radius: 5px; -ms-border-radius: 5px;">
                                                <table cellpadding="0" cellspacing="2" width="100%">
                                                    <tr>
                                                        <td colspan="13">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 5px;">
                                                            &nbsp;
                                                        </td>
                                                        <td>
                                                            Estatura:
                                                        </td>
                                                        <td>
                                                            <esd:esdNumericTextBox ID="txtnuTalla" runat="server" NumericType="Decimal" Width="60px">
                                                            </esd:esdNumericTextBox>
                                                        </td>
                                                        <td>
                                                            Peso:
                                                        </td>
                                                        <td>
                                                            <esd:esdNumericTextBox ID="txtnuPeso" runat="server" NumericType="Decimal" Width="60px">
                                                            </esd:esdNumericTextBox>
                                                        </td>
                                                        <td style="width: 5px;">
                                                            &nbsp;
                                                        </td>
                                                        <td>
                                                           Talla Calzado:
                                                        </td>
                                                        <td>
                                                            <esd:esdTextBox ID="txtdsTallaCalza" runat="server" Width="60px"></esd:esdTextBox>
                                                        </td>
                                                        <td>
                                                           Talla Pantalon:
                                                        </td>
                                                        <td>
                                                            <esd:esdTextBox ID="txtdsTallaPanta" runat="server" Width="60px"></esd:esdTextBox>
                                                        </td>
                                                        <td>
                                                           Talla Camisa:
                                                        </td>
                                                        <td>
                                                            <esd:esdTextBox ID="txtdsTallaCamisa" runat="server" Width="60px"></esd:esdTextBox>
                                                        </td>
                                                        <td style="width: 5px;">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="13">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </td> 
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr> 
                                    <tr>
                                        <td colspan="3">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;    
                                        </td>
                                        <td>
                                            Salud:
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                     </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            <div style="border: 1px solid #ccc; border-radius: 5px; -moz-border-radius: 5px;
                                                -webkit-border-radius: 5px; -ms-border-radius: 5px;">
                                                <table cellpadding="0" cellspacing="2" width="100%">
                                                    <tr>
                                                        <td colspan="13">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 5px;">
                                                            &nbsp;
                                                        </td>
                                                        <td style="width: 140px;">
                                                            Tipo Sangre:
                                                        </td>
                                                        <td style="width: 200px;" colspan="2">
                                                            <asp:DropDownList ID="ddlidTipoSangre" runat="server" Width="185px">
                                                            </asp:DropDownList>
                                                        </td>
                                                        <td style="width: 20px;">
                                                            &nbsp;
                                                        </td>
                                                        <td style="width: 80px;">
                                                            Enfermedad:
                                                        </td>
                                                        <td style="width: 200px;" colspan="2">
                                                            <esd:esdTextBox ID="txtdsEnfermedad" runat="server" Width="180px">
                                                            </esd:esdTextBox>
                                                        </td>
                                                        <td style="width: 20px;">
                                                            &nbsp;
                                                        </td>
                                                        <td style="width: 80px;">
                                                            Alergia:
                                                        </td>
                                                        <td style="width: 200px;" colspan="2">
                                                            <esd:esdTextBox ID="txtdsAlergia" runat="server" Width="180px"></esd:esdTextBox>
                                                        </td>
                                                        <td style="width: 5px;">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 5px;">
                                                            &nbsp;
                                                        </td>
                                                        <td style="width: 140px;" >
                                                            Tec. Primeros Auxilios
                                                        </td>
                                                        <td colspan="10">
                                                            <esd:esdTextBox ID="txtdsPriAuxilios" runat="server" Width="180px"></esd:esdTextBox>
                                                        </td>
                                                        <td style="width: 5px;">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="13">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </td> 
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                    </tr> 
                               
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;    
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                     </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;    
                                        </td>
                                        <td>
                                            Sociales y Religion
                                        </td>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                     </tr>
                                    <tr>
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            <div style="border: 1px solid #ccc; border-radius: 5px; -moz-border-radius: 5px;
                                                -webkit-border-radius: 5px; -ms-border-radius: 5px;">
                                                <table cellpadding="0" cellspacing="2" width="100%">
                                                    <tr>
                                                        <td colspan="13">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 5px;">
                                                            &nbsp;
                                                        </td>
                                                        <td style="width: 140px;">
                                                            Club Social o Deportivo:
                                                        </td>
                                                        <td style="width: 200px;" colspan="2">
                                                            <esd:esdTextBox ID="txtdsClubSoDe" runat="server" Width="180px"></esd:esdTextBox>
                                                        </td>
                                                        <td style="width: 20px;">
                                                            &nbsp;
                                                        </td>
                                                        <td style="width: 80px;">
                                                            Hobby:
                                                        </td>
                                                        <td style="width: 200px;" colspan="2">
                                                            <esd:esdTextBox ID="txtdsHobby" runat="server" Width="180px"></esd:esdTextBox>
                                                        </td>
                                                        <td style="width: 20px;">
                                                            &nbsp;
                                                        </td>
                                                        <td style="width: 80px;">
                                                            Religion:
                                                        </td>
                                                        <td style="width: 200px;" colspan="2">
                                                            <esd:esdTextBox ID="txtdsReligion" runat="server" Width="180px"></esd:esdTextBox>
                                                        </td>
                                                        <td style="width: 5px;">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="13">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </td> 
                                        <td style="width: 5px;">
                                            &nbsp;
                                        </td>
                                     </tr>
                                    <tr>
                                        <td colspan="3">
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                            </contenttemplate>

                                </ajax:TabPanel>
                                <ajax:TabPanel ID="tabChildRemu" runat="server" HeaderText="Remuneraciones">
                                    <contenttemplate>
                                 <table width="100%" cellpadding="0" cellspacing="2">
                                    <tr>
                                        <td style="width: 10px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                    </tr>
                                         <tr>
                                        <td colspan="13">
                                          <div class="ToolBarGrid">
                                            <asp:Menu ID="mnuGridRem" runat="server" Orientation="Horizontal" CssClass="ToolBarControl"
                                                OnMenuItemClick="mnuGridRem_MenuItemClick">
                                                <Items>
                                                    <asp:MenuItem Text="Nuevo" Value="_BTTNEW" ImageUrl="../Images/Icons/Enabled/New.png">
                                                    </asp:MenuItem>
                                                </Items>
                                            </asp:Menu>
                                           </div>
                                            <esd:esdGridView CssClass="esdGridView" ID="grdListRem" runat="server"
                                            Width="100%" ShowHeaderWhenEmpty="True" AutoGenerateColumns="False" DataKeyNames="idForPago,idTipoRemu"
                                            OnRowCommand="grdListRem_RowCommand" OnRowDataBound="grdListRem_RowDataBound">
                                                <Columns>
                                                    <asp:TemplateField>
                                                        <ItemTemplate>
                                                            <asp:ImageButton ID="grdBttCmdEdit" CommandName="CmdEdit" CommandArgument="<%# Container.DataItemIndex %>"
                                                                runat="server" ImageUrl="../Images/Icons/Enabled/Edit.png" ToolTip="Editar Remuneración" />
                                                        </ItemTemplate>
                                                        <HeaderStyle Width="22px" />
                                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField>
                                                        <ItemTemplate>
                                                            <asp:ImageButton ID="grdBttCmdDelete" CommandName="CmdDel" CommandArgument="<%# Container.DataItemIndex %>"
                                                                runat="server" ImageUrl="../Images/Icons/Enabled/Delete.png" ToolTip="Eliminar Remuneración" />
                                                        </ItemTemplate>
                                                        <HeaderStyle Width="22px" />
                                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="dsForPago" HeaderText="Forma de Pago"></asp:BoundField>
                                                    <asp:BoundField DataField="dsTipoRemu" HeaderText="Tipo remuneración"></asp:BoundField>
                                                    <asp:BoundField DataField="dsMoneda" HeaderText="Moneda"></asp:BoundField>
                                                    <asp:BoundField DataField="mtRemu" HeaderText="Monto"></asp:BoundField>
                                                    <asp:BoundField DataField="stAnulado" HeaderStyle-CssClass="hideDataGridColumn" ItemStyle-CssClass="hideDataGridColumn"></asp:BoundField>
                                                </Columns>
                                                <EmptyDataTemplate>
                                                    <div id="gridempty">
                                                        <asp:Image ID="imgEmpty" runat="server" ImageUrl="../Images/Controls/Attention.png" />
                                                        &nbsp;No existen registros para esta solicitud.
                                                    </div>
                                                </EmptyDataTemplate>
                                            </esd:esdGridView>
                                        </td>
                                    </tr>
                                </table> 
                            </contenttemplate>



                                </ajax:TabPanel>
                            </ajax:TabContainer>
                        </td>
                        <td style="width: 5px;">
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </div>
            <asp:HiddenField ID="hdnMsgOPB" runat="server" />
            <asp:HiddenField ID="hdnidCliProv" runat="server" />
            <asp:HiddenField ID="hdnidPais" runat="server" />
            <asp:HiddenField ID="hdnidDepa" runat="server" />
            <asp:HiddenField ID="hdnidProv" runat="server" />
            <asp:HiddenField ID="hdnidDist" runat="server" />
         <!-- Popup Remuneraciones -->
             <asp:Panel runat="server" ID="PnlPopupRem" CssClass="modalPopup" Width="500px">
            <table width="100%" cellpadding="0" cellspacing="2">
               <tr>
                  <td colspan="3">
                     <div class="modalPopupHeader">
                        &nbsp;&nbsp;&nbsp;<asp:Label ID="lblTitlePopup" runat="server"></asp:Label>
                     </div>
                  </td>
               </tr>
               <tr>
                  <td colspan="3">
                     &nbsp;
                  </td>
               </tr>
               <tr>
                  <td style="width: 5px;">
                     &nbsp;
                  </td>
                  <td>
                     Datos Remuneración:
                  </td>
                  <td style="width: 5px;">
                     &nbsp;
                  </td>
               </tr>
               <tr>
                  <td style="width: 5px;">
                     &nbsp;
                  </td>
                  <td>
                     <div style="border: 1px solid #ccc; border-radius: 5px; -moz-border-radius: 5px;
                        -webkit-border-radius: 5px; -ms-border-radius: 5px;">
                        <table width="100%" cellpadding="0" cellspacing="2">
                           <tr>
                              <td colspan="3">
                                 &nbsp;
                              </td>
                           </tr>
                           <tr>
                              <td style="width: 5px;">
                                 &nbsp;
                              </td>
                              <td class="style1" style= "Width: 120px;" > 
                                 Forma de pago:
                              </td>
                              <td colspan="1">
                                 <asp:DropDownList ID="ddlidForPago" runat="server" Width="180px">
                                 </asp:DropDownList>
                              </td>
                              <td style="width: 5px;">
                                 &nbsp;
                              </td>
                           </tr>
                           <tr>
                              <td style="width: 5px;">
                                 &nbsp;
                              </td>
                              <td class="style1">
                                 Tipo de Remuneración:
                              </td>
                              <td colspan="1">
                                 <asp:DropDownList ID="ddlidTipRemu" runat="server" Width="180px">
                                 </asp:DropDownList>
                               </td>
                            </tr>
                            <tr>
                              <td style="width: 5px;">
                                 &nbsp;
                              </td>
                              <td class="style1">
                                 Moneda:
                              </td>
                              <td colspan="1">
                                 <asp:DropDownList ID="ddlidMoneda" runat="server" Width="180px">
                                 </asp:DropDownList>
                              </td>
                           </tr>
                           <tr>
                              <td style="width: 5px;">
                                 &nbsp;
                              </td>
                              <td class="style1">
                                 Monto:
                              </td>
                              <td colspan="1">
                                    <esd:esdNumericTextBox ID="txtmtRemu" runat="server" NumericType="Decimal" Width="100px">
                                    </esd:esdNumericTextBox>
                              </td>
                              <td>
                                 &nbsp;
                              </td>
                           </tr>
                        </table>
                     </div>
                  </td>
                  <td style="width: 5px;">
                     &nbsp;
                  </td>
               </tr>
               <tr>
                  <td colspan="3">
                     &nbsp;
                  </td>
               </tr>
               <tr>
                  <td style="width: 5px;">
                     &nbsp;
                  </td>
                  <td align="right">
                     <esd:esdButton ID="bttOkPopupRem" runat="server" Text="Aceptar" Width="80px" OnClick="bttOkPopupRem_Click">
                     </esd:esdButton>
                     <esd:esdButton ID="bttCancelPopupRem" runat="server" Text="Cancelar" Width="80px">
                     </esd:esdButton>
                  </td>
                  <td style="width: 5px;">
                     &nbsp;
                  </td>
               </tr>
               <tr>
                  <td colspan="3">
                     &nbsp;
                  </td>
               </tr>
            </table>
         </asp:Panel>
             <ajax:ModalPopupExtender runat="server" ID="mdlPopupRem" PopupControlID="PnlPopupRem"
             BackgroundCssClass="modalBackground" TargetControlID="hdnidCliProv">
             </ajax:ModalPopupExtender>
         <!--Fin Popup Remneraciones -->
        </ContentTemplate>
    </asp:UpdatePanel>
<ajax:UpdatePanelAnimationExtender ID="upae" BehaviorID="animation" runat="server"
    TargetControlID="updatePanel1">
    <animations>
        <OnUpdating>
        <Parallel duration="0.5">
            <ScriptAction Script="panelOnUpdating();" />  
        </Parallel>
        </OnUpdating>
        <OnUpdated>
        <Parallel duration="0.5">
            <ScriptAction Script="panelOnUpdated();" /> 
        </Parallel> 
        </OnUpdated>
    </animations>
</ajax:UpdatePanelAnimationExtender>
<div id="updateProgressDiv" class="updateProgress" style="display: none">
        <table width="100%">
            <tr>
                <td valign="middle">
                    <img src="../Images/Controls/Loading.gif" />
                </td>
                <td valign="middle">
                    <span class="updateProgressMessage">Cargando ...</span>
                </td>
            </tr>
        </table>
</div>
</asp:Content>
